 |
API Documentation
|
|
|
Function(const nkMemory::StringView &name)
Encompasses all API of component NilkinsScripts.
Definition: Environment.h:7
OutputValue defaultFunction(const DataStack &stack)
The default place holder function. Set by default.
void setFunction(FunctionCallback function)
std::vector< FunctionParameter > DataStack
A data stack, mainly used for parameters.
Definition: FunctionDefines.h:8
A function parameter, used within the stack of arguments.
Definition: FunctionParameter.h:25
std::function< OutputValue(const DataStack &)> FunctionCallback
A callback in C++, the script environment will call when tied.
Definition: FunctionDefines.h:10
void addParameter(FUNCTION_PARAMETER_TYPE type, const nkMemory::StringView &userTypeName="")
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
FUNCTION_PARAMETER_TYPE
Describes a variable type.
Definition: FunctionParameterType.h:12
Holds information, and controls, over a function in a scripting environment.
Definition: Function.h:50
nkMemory::StringView getName() const